package com.touchy.touchpad;
import java.io.Serializable;


public class DataHeader implements Serializable {
	
	private boolean t;
	private int cType;
	private int mode;
	/**
	 * 
	 */
	public DataHeader() {
		
	}
	
	/**
	 * Check for interaction type
	 * @param t if t == true, it is a mouse move, else it is a mouse click
	 * @param b Byte of data containing information about the type of click it was, if it was  a move pass
	 * null into this param
	 */
	public DataHeader(boolean t, int cType, int mode) {
		this.t = t;
		this.cType = cType;
		this.mode = mode;
	}

	public int getMode() {
		return mode;
	}

	public void setMode(int mode) {
		this.mode = mode;
	}

	public boolean isT() {
		return t;
	}

	public void setT(boolean t) {
		this.t = t;
	}

	public int getcType() {
		return cType;
	}

	public void setcType(int cType) {
		this.cType = cType;
	}
	
	
}
